<?php
// +----------------------------------------------------------------------
// | 麦沃德科技赋能开发者，助力中小企业发展
// +----------------------------------------------------------------------
// | Copyright (c) 2017～2024  www.wdadmin.cn    All rights reserved.
// +----------------------------------------------------------------------
// | Wdadmin系统产品软件并不是自由软件，不加密，并不代表开源，未经许可不可自由转售和商用
// +----------------------------------------------------------------------
// | Author: MY WORLD Team <bd@maiwd.cn>   www.wdadmin.cn
// +----------------------------------------------------------------------
/**
 * Class OrderSoundRecording
 * Desc  行程录音校验
 * Create on 2025/4/25 15:56
 * Create by wangyafang
 */

namespace app\api\validate\wddj;


use think\Validate;

class OrderSoundRecording extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'source'            => 'require',
        'order_id'            => 'require',
        'url'       => 'require',
        'start_time'       => 'require|date',
        'end_time'       => 'require|date',
    ];

    /**
     * 提示消息
     */
    protected $message = [
        'source.require'              => '提交来源不能为空',
        'order_id.require'              => '订单ID不能为空',
        'url.require'         => '请上传录音文件',
    ];
}



 